package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lrj
 * @date 2021/11/24 17:25
 */
@Getter
@Setter
@ToString
public class FormResultRuleSaveDTO extends BaseDTO {

    private static final long serialVersionUID = -8976005883804145582L;

    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{dto.msg.businessType.NotNull}")
    private Integer businessType;

    /**
     * 结果展示配置
     */
    @NotNull(message = "{dto.msg.coUserList.formId.NotNull}")
    private List<String> ruleList;

}
